from webdriver.driver_factory1 import DriverFactory1

'''
2021-6-26 9:50
创建BasePage类，单例模式获取到的driver作为BasePage类的实例属性，所有的Page类都要继承于BasePage
'''
class BasePage():
    def __init__(self):
        self.driver = DriverFactory1.getDriver()
